package org.tloss.web.editor.form.editors.command;

import org.eclipse.core.resources.IResourceChangeListener;
import org.tloss.web.editor.model.command.Command;
import org.tloss.web.editor.model.command.LoadEnity;

public class LoadEnityElement extends AbstractCommandElement {

	public LoadEnityElement(LoadEnity command, IResourceChangeListener listener) {
		super(command, listener);

	}

	public boolean isSupportedChildren() {
		return false;
	}

	LoadEnityProperty property = new LoadEnityProperty();

	@SuppressWarnings("rawtypes")
	public Object getInternalAdapter(Class adapter, Command command,
			IResourceChangeListener listener) {
		property.setCommand((LoadEnity) command);
		property.setListener(listener);
		
		return property;
	}

}
